package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Admission;

/**
 * 住院申请Service接口
 * 
 * @author 墨白
 * @date 2024-08-10
 */
public interface IAdmissionService 
{
    /**
     * 查询住院申请
     * 
     * @param admissionId 住院申请主键
     * @return 住院申请
     */
    public Admission selectAdmissionByAdmissionId(Long admissionId);

    /**
     * 查询住院申请列表
     * 
     * @param admission 住院申请
     * @return 住院申请集合
     */
    public List<Admission> selectAdmissionList(Admission admission);

    /**
     * 新增住院申请
     * 
     * @param admission 住院申请
     * @return 结果
     */
    public int insertAdmission(Admission admission);

    /**
     * 修改住院申请
     * 
     * @param admission 住院申请
     * @return 结果
     */
    public int updateAdmission(Admission admission);

    /**
     * 批量删除住院申请
     * 
     * @param admissionIds 需要删除的住院申请主键集合
     * @return 结果
     */
    public int deleteAdmissionByAdmissionIds(Long[] admissionIds);

    /**
     * 删除住院申请信息
     * 
     * @param admissionId 住院申请主键
     * @return 结果
     */
    public int deleteAdmissionByAdmissionId(Long admissionId);
}
